﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MyGeneration.dOOdads;
using POSSystem.BLL;

namespace ShopOnline.Controls
{

    public partial class BusinessCardListCtrl : BaseDataListCtrl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            
        }

        protected void btnDelete_OnClick(object sender, EventArgs e)
        {
            LinkButton lnk = (LinkButton)sender;
            string tag = lnk.Attributes["Tag"];

            ProductTags.DeleteTags(tag);

            this.Rebind();
        }
    }
}